﻿#pragma once

#include "BaseGameObject.h"

typedef struct Box Box;

// 小人
struct Box {
    BaseGameObject* mBack;      // 背后对象
    void* mChild;               // 子类对象
    HANDLE mCurrentImage;       // 当前图片
    HANDLE mImage2;             // 图片2
    BaseGameObject* mParent;    // 父类对象
};

BaseGameObject* New_Box(BaseGameObject*, HDC, GameObjectType, int, int);
void Box_Delete(BaseGameObject*);
BaseGameObject* Box_Move(BaseGameObject*, UINT, MoveResult*);
